package com.my.domain;

public class Message {

	int id;
	String username;
	String catalog;
	String content;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getCatalog() {
		return catalog;
	}
	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Message(){
		
	}
	public Message(String username, String catalog, String content) {
		super();
		
		this.username = username;
		this.catalog = catalog;
		this.content = content;
	}
	@Override
	public String toString() {
		return "Message [id=" + id + ", username=" + username + ", catalog="
				+ catalog + ", content=" + content + "]";
	}
	public Message(int id, String username, String catalog, String content) {
		super();
		this.id = id;
		this.username = username;
		this.catalog = catalog;
		this.content = content;
	}
	public Message(int id) {
		super();
		this.id = id;
	}
	
	
}
